package com.car.order.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.car.order.entity.ServeOrderItem;
import com.car.order.entity.form.serveOrderItem.ServeOrderItemFindListForm;
import com.car.order.entity.form.serveOrderItem.ServeOrderItemFindPageForm;
import com.car.order.entity.form.serveOrderItem.ServeOrderItemInsertForm;
import com.car.order.entity.form.serveOrderItem.ServeOrderItemUpdateForm;

import java.util.List;
/**
 * @author 杜岷芫
 * @since 2024-08-29 10:20:36
 */
public interface ServeOrderItemService extends IService<ServeOrderItem> {

    Page<ServeOrderItem> findPage(ServeOrderItemFindPageForm form);

    List<ServeOrderItem> findList(ServeOrderItemFindListForm form);

    ServeOrderItem findById(Integer id);

    ServeOrderItem insert(ServeOrderItemInsertForm form);

    ServeOrderItem update(ServeOrderItemUpdateForm form);

    void delete(Integer id);

    void over(Integer id);
}